
class Tire {

}

class Engine {

}

class VehicleSystem {

}

class Car {
    private Tire tire;
    private Engine engine;
    private VehicleSystem vehicleSystem;

    public Car (Tire t, Engine e, VehicleSystem v) {
        this.tire = t;
        this.engine = e;
        this.vehicleSystem = v;
    }
}

public class Demo4 extends Car {


    public Demo4(Tire t, Engine e, VehicleSystem v) {
        super(t, e, v);
    }
}
